/* 覆盖原有的hero样式 - 改为左右结构 */
.hero {
    margin-top: 70px;
    padding: 80px 0 !important;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    text-align: left !important;
}

.hero .container {
    max-width: 1200px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px !important;
    margin: 0 !important;
}

.hero h1 {
    font-size: 2.8rem !important;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem !important;
    color: var(--text-light);
    margin-bottom: 2rem !important;
    line-height: 1.8;
}

.hero-features {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
    justify-content: flex-start !important;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-color);
}

.hero-feature-item .icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start !important;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    object-fit: cover;
}

/* 响应式 - 移动端改回单栏 */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 60px 0 !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero-features {
        grid-template-columns: 1fr !important;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
}

/* 修复适合人群部分的卡片样式 */
.audience {
    background: #fff;
    padding: 80px 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.audience-card {
    padding: 2rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

.audience-card:hover {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: #2e7d54;
}

.audience-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #2e7d54 0%, #3d9968 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.audience-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 700;
}

.audience-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 修复用户评价部分的卡片样式 */
.testimonials {
    background: #f9fafb;
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: #2e7d54;
}

.rating {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #1a1a1a;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2e7d54 0%, #3d9968 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.author-role {
    color: #666;
    font-size: 0.9rem;
}

/* 修复教程部分的卡片样式 */
.tutorial {
    background: #f9fafb;
    padding: 80px 0;
}

.tutorial-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.85rem 2rem;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #2e7d54;
    color: #2e7d54;
}

.tab-btn.active {
    background: #2e7d54;
    color: #fff;
    border-color: #2e7d54;
}

.tutorial-content {
    max-width: 900px;
    margin: 0 auto;
}

.tab-content {
    display: none;
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tab-content.active {
    display: block;
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2e7d54 0%, #3d9968 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    font-weight: 700;
}

.step-content p {
    color: #666;
    line-height: 1.7;
}

.step-content a {
    color: #2e7d54;
    text-decoration: underline;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .audience-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .tutorial-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .tab-content {
        padding: 2rem 1.5rem;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
    }
}
